/**
 * License under GNU's GPL 
 * DoctorOrders.java 
 */
/**
 * Class represents doctor's orders
 * 
 * @author Team 9
 * @version 1.0
 */
public class DoctorsOrders {
	/**
	 * Overrides the toString() method to print the appropriate instance
	 * variables
	 * 
	 * @return String to be printed
	 */
	@Override
	public String toString() {
		return "doctorsOrders [perscriptions=" + perscriptions
				+ ", labWorkPerformed=" + labWorkPerformed + ", followUp="
				+ followUp + ", otherInstructions=" + otherInstructions + "]";
	}

	/**
	 * int value to hold the serial number of the prescription
	 */
	private int perscriptions;

	/**
	 * String variable to hold the lab works performed
	 */
	private String labWorkPerformed;

	/**
	 * String variable for follow up information
	 */
	private String followUp;

	/**
	 * String variable for any other instructions
	 */
	private String otherInstructions;

	/**
	 * Constructor for the class
	 * 
	 * @param perscriptions
	 *            value for prescriptions
	 * @param labWorkPerformed
	 *            value for labWorkPerformed
	 * @param followUp
	 *            value for followUp
	 * @param otherInstrutions
	 *            value for otherInstructions
	 */
	public DoctorsOrders(int perscriptions, String labWorkPerformed,
			String followUp, String otherInstrutions) {
		this.perscriptions = perscriptions;
		this.labWorkPerformed = labWorkPerformed;
		this.followUp = followUp;
		this.otherInstructions = otherInstrutions;
	}

	/**
	 * Constructor to set up an empty Doctor's orders
	 */
	public DoctorsOrders() {
		perscriptions = 0;
		labWorkPerformed = "";
		followUp = "";
		otherInstructions = "";
	}

	/**
	 * Setter for prescriptions
	 * 
	 * @param perscriptions
	 *            value for prescriptions
	 */
	public void setPerscriptions(int perscriptions) {
		this.perscriptions = perscriptions;
	}

	/**
	 * Getter for prescriptions
	 * 
	 * @return prescriptions
	 */
	public int getPerscriptions() {
		return perscriptions;
	}

	/**
	 * Setter for labWorkPerformed
	 * 
	 * @param labWorkPerformed
	 *            value for labWorkPerformed
	 */
	public void setLabWorkPerformed(String labWorkPerformed) {
		this.labWorkPerformed = labWorkPerformed;
	}

	/**
	 * Getter for labWorkPerformed
	 * 
	 * @return labWorkPerformed
	 */
	public String getLabWorkPerformed() {
		return labWorkPerformed;
	}

	/**
	 * Setter for followUp
	 * 
	 * @param followUp
	 *            value for followUp
	 */
	public void setFollowUp(String followUp) {
		this.followUp = followUp;
	}

	/**
	 * Getter for followUp
	 * 
	 * @return followUp
	 */
	public String getFollowUp() {
		return followUp;
	}

	/**
	 * Setter for otherInstructions
	 * 
	 * @param otherInstrutions
	 *            value for otherInstructions
	 */
	public void setOtherInstructions(String otherInstrutions) {
		this.otherInstructions = otherInstrutions;
	}

	/**
	 * Getter for otherInstructions
	 * 
	 * @return otherInstructions
	 */
	public String getOtherInstructions() {
		return otherInstructions;
	}

}
